//
//  AttentionViewController.m
//  RENTVISITOR
//
//  Created by wonder on 2017/8/22.
//  Copyright © 2017年 UNN. All rights reserved.
//


#import "AttentionViewController.h"
#import "RentVieitor.h"

@interface AttentionViewController ()

@end

@implementation AttentionViewController

- (void)viewWillAppear:(BOOL)animated {
    
    [self.navigationController.navigationBar setTitleTextAttributes:
     @{NSFontAttributeName:[UIFont systemFontOfSize:17],
       NSForegroundColorAttributeName:[Utils colorConvertFromString:@"#333333"]}];
    self.navigationController.navigationBar.translucent = YES;
    
}


- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = BackgroundColor;
//    [self loadData];
    [self creatview];
}

- (void)creatview {
    
    UIImageView *imgView = [[UIImageView alloc] initWithFrame:CGRectMake(80, 250/2, KWidth-200, (KWidth-160)*257/592)];
    imgView.image = [UIImage imageNamed:@"lackimg"];
    [self.view addSubview:imgView];
    
    UILabel *proLabel = [[UILabel alloc] initWithFrame:CGRectMake(0,250/2+(KWidth-200)*257/592+30,  KWidth, 20)];
    proLabel.text = @"该功能正在完善中";
    proLabel.textColor = [Utils colorConvertFromString:@"#101010"];
    proLabel.font = [UIFont systemFontOfSize:15];
    proLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:proLabel];
    
    UILabel *proLabel2 = [[UILabel alloc] initWithFrame:CGRectMake(0,250/2+(KWidth-200)*257/592+30+30,  KWidth, 20)];
    proLabel2.text = @"即将上线,敬请期待";
    proLabel2.textColor = [Utils colorConvertFromString:@"#101010"];
    proLabel2.font = [UIFont systemFontOfSize:15];
    proLabel2.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:proLabel2];
    
    UILabel *proLabel3 = [[UILabel alloc] initWithFrame:CGRectMake(0,250/2+(KWidth-200)*257/592+30+30+30,  KWidth, 20)];
    proLabel3.text = @"更多详情关注:www.zuke.com";
    proLabel3.textColor = [Utils colorConvertFromString:@"#101010"];
    proLabel3.font = [UIFont systemFontOfSize:15];
    proLabel3.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:proLabel3];
}
//- (void)loadData {
//    
//    NSString *url = [NSString stringWithFormat:@"%@place/district",Main_Url];
//    NSDictionary *dic = @{
//                          
//                          @"city":@"103",
//                        
//                          };
//    NSString *str = [ReturnSign returnSignWithDic:dic];
//    NSString *md5String = [NSString stringWithFormat:@"%@%@%@",str,APPKEY_URL,url];
//    
//    //32位小写
//    
//    //    NSString *nickname = [nameText.text stringByAddingPercentEscapesUsingEncoding:
//    //                          NSUTF8StringEncoding];
//    
//    md5String = [LCMD5Tool MD5ForLower32Bate:md5String];
//    NSMutableDictionary * param = [NSMutableDictionary dictionaryWithDictionary:dic];
//    [param setObject:md5String forKey:@"sign"];
//    //    [param setValue:md5String forKey:@"sign"];
//    
//    [AFHttpTool requestWihtUrl:url params:param success:^(id response) {
//        
//        
//        if ([response[@"code"] isEqualToString:@"10000"]) {
//            
//        }
//        
//        
//    } failure:^(NSError *err) {
//        
//       
//    }];
//    
//}


@end
